package com.ts.main.admin.mapper;

import com.ts.main.admin.dto.MiniUserAddressSearchPageDto;
import com.ts.main.admin.entity.UserAddressEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ts.main.admin.vo.MiniUserAddressVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lk
* @description 针对表【t_user_address(用户收货地址表)】的数据库操作Mapper
* @createDate 2025-06-09 00:56:13
* @Entity generator.domain.TUserAddress
*/
public interface UserAddressMapper extends BaseMapper<UserAddressEntity> {

    List<MiniUserAddressVo> getMiniUserAddressPage(@Param("dto") MiniUserAddressSearchPageDto dto);

    MiniUserAddressVo getMiniUserAddressDetails(@Param("userAddressId") Integer userAddressId);

}




